﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UIKit
{
    /// <summary>
    /// This can be used to listen to things that happen in a UINavigationController
    /// </summary>
    public interface UINavigationControllerDelegate
    {

        //# – navigationController:willShowViewController:animated:  optional method
        //# – navigationController:didShowViewController:animated:  optional method

        /// <summary>
        /// Not Sure!
        /// </summary>
        /// <param name="navigationController"> The navigation controller that is showing the properties of a view controller</param>
        /// <param name="viewController">The view controller whose view and navigation item properties are being shown</param>
        /// <param name="animated"> YES to animate the transition; otherwise, NO</param>
        void didShowViewController(UINavigationController navigationController, UIViewController viewController, bool animated );
        

        /// <summary>
        /// Not Sure!
        /// </summary>
        /// <param name="navigationController"> The navigation controller that is showing the properties of a view controller</param>
        /// <param name="viewController">The view controller whose view and navigation item properties are being shown</param>
        /// <param name="animated"> YES to animate the transition; otherwise, NO</param>
        void willShowViewController(UINavigationController navigationController, UIViewController viewController, bool animated );
    }
}
